﻿<%@ page import="com.apexedu.identity.IdConstants" %>
<%@ page import="com.apexedu.identity.entity.TSysUser" %>
<%@ page language="java" contentType="text/html; charset=utf-8" %>
<% response.setHeader("Pragma", "No-cache");
    response.setHeader("Cache-Control", "no-cache");
    response.setHeader("Cache-Control", "must-revalidate");
    response.setDateHeader("Expires", 0);
    TSysUser user = (TSysUser) request.getSession().getAttribute(IdConstants.SESSION_USER);
    String screenname = user.getUserloginid();
    String passwd = screenname + "shgh_2015";
%>
<html>
<head>
    <title></title>
</head>
<body class="body" onload="summitEmail()">
<div style="display:none" name="<%=screenname%>">
    <form method="post" id="myform" name="myform"
          action="http://mail.shghxy.com:8322/webmail/index.php?module=operate&action=login">
        账号：<input type="text" name="username" value="<%=screenname%>"/>
        域名：<input type="text" name="domain" value="shghxy.com"/>
        密码：<input type="password" name="password" value="<%=passwd%>"/>
        <input type="hidden" name="init"/>
        <input type="submit"/>
    </form>
</div>
<script type="text/javascript">
    function summitEmail() {
        document.getElementById("myform").submit();
    }
</script>
</body>
</html>
